package org.yujuan.springbootlearning.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.yujuan.springbootlearning.mapper.TaskMapper;
import org.yujuan.springbootlearning.model.Task;
import org.yujuan.springbootlearning.service.TaskService;

@Service
public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements TaskService {

    @Autowired
    private TaskMapper taskMapper;

    @Override
    public Task selectCustomTask(long id) {
        return taskMapper.selectCustomTask(id);
    }
}
